﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using ShiziEntity.User;
using ShizirDAL.User;

namespace ShizirBLL.User
{
    /// <summary>
    /// 用户权限处理逻辑
    /// </summary>
    public class UserAgentConBiz
    {
        private UserAgentConData uacd = new UserAgentConData();

        /// <summary>
        /// 保存用户权限
        /// </summary>
        /// <param name="user">用户权限实体</param>
        /// <returns>操作结果</returns>
        public bool SaveUserAgentCon(UserAgentCon obj)
        {
            return uacd.SaveUserAgentCon(obj);
        }

        /// <summary>
        /// 获取用户权限实体
        /// </summary>
        public UserAgentCon GetAgentConEntity(int userID)
        {
            return uacd.GetAgentConEntity(userID);
        }
    }
}